package com.yi.wood.web.ctrl.dto;

import lombok.Data;

import java.util.List;

/**
 * Created by moyi on 2019/1/30 15:48
 *
 * @author moyi
 */
@Data
public class PageVo<T> {

    public PageVo(List<T> list, Integer pageNum, Integer pageSize, Long total) {
        this.list = list;
        this.pageNum = pageNum;
        this.pageSize = pageSize;
        this.total = total;
    }

    private List<T> list;

    private Integer pageNum;

    private Integer pageSize;

    private Long total;
}
